Adwaita: don't set a border for drop targets
authorLapo Calamandrei <calamandrei@gmail.com>
Sun, 14 Feb 2016 13:44:57 +0000 (14:44 +0100)
committerLapo Calamandrei <calamandrei@gmail.com>
Sun, 14 Feb 2016 13:44:57 +0000 (14:44 +0100)
to avoid active drop targets to grow.

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index 495dc3cc4502ff5357a59309ff9d3ce01c7ab8e5..723a057796db6bfdca18a6ac5b397513524bc4e0 100644 (file)
@@ -3757,7 +3757,10 @@ button.circular { // FIXME: aggregate to buttons
 }
 
 *:drop(active):focus,
-*:drop(active) { border: 1px solid black; } // FIXME this makes boxes grow and looks pretty bad, needs to be handled differently
+*:drop(active) { // FIXME figure out a proper color
+  border-color: black;
+  box-shadow: inset 0 0 0 1px black;
+}
 
 stackswitcher button.text-button { min-width: 100px; } // FIXME aggregate with buttons
 
index bf7ad2c9c1283aa7eb6ed1fccb4fadd3c20c7c29..929872665a2738085cad1614464bfbfb64401787 100644 (file)
@@ -4459,7 +4459,8 @@ button.circular {
 
 *:drop(active):focus,
 *:drop(active) {
-  border: 1px solid black; }
+  border-color: black;
+  box-shadow: inset 0 0 0 1px black; }
 
 stackswitcher button.text-button {
   min-width: 100px; }
index 770534ec391d6c951dfbce0f73b22cfd1a95229b..f79b0d8dc087a47523cd9f08ad8468cde5b9b059 100644 (file)
@@ -4601,7 +4601,8 @@ button.circular {
 
 *:drop(active):focus,
 *:drop(active) {
-  border: 1px solid black; }
+  border-color: black;
+  box-shadow: inset 0 0 0 1px black; }
 
 stackswitcher button.text-button {
   min-width: 100px; }